package com.tensin.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tensin.common.utils.PageUtils;
import com.tensin.mall.product.entity.SpuInfoEntity;
import com.tensin.mall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author tensin
 * @email 56793079@qq.com
 * @date 2022-07-11 17:24:37
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

//    保存 商品维护-发布商品-保存商品信息
    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    //商品维护-spu管理条件查询
    PageUtils queryPageByConditions(Map<String, Object> params);

    //商品上架
    void up(Long spuId);
}

